package com.taiyo.modules.api.service;

import com.taiyo.modules.api.entity.TProductEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-01-15 16:20:33
 */
public interface TProductService {
	
	TProductEntity queryObject(Long id);
	
	List<TProductEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	long save(TProductEntity tProduct);
	
	void update(TProductEntity tProduct);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);

	List<TProductEntity> queryListByParams(Map<String, Object> map);
}
